package com.example.wjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 篮球教练
 * 数据库通用操作实体类（普通增删改查）
 * @author
 * @email
 * @date 2022-07-31 07:01:29
 */
@TableName("coach")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Coach implements Serializable {
    @TableId(value = " id", type = IdType.AUTO)
    private Integer id;//id
    private String username;//用户名
    private String password;//密码
    private String name;//姓名
    private String gender;//性别
    private String age;//年龄
    private String phonenumber;//手机号码
    private String teachage;//教龄
    private LocalDate addtime;//加入时间
    private String type;//教练类别
}
